package com.ajk.message;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

import com.ajk.message.config.UserProfile;
import com.ajk.message.config.remote.HttpInvokerServerConfig;

@SpringBootApplication
@Import({
	HttpInvokerServerConfig.class
})
public class MessageApplication {

	public static void main(String[] args) {
		if(System.getProperty("spring.profiles.active")==null){
			System.setProperty("spring.profiles.active", UserProfile.INTG);
		}
		SpringApplication.run(MessageApplication.class, args);
	}
}
